package com.dongchen.designpatter.chapter06.abstractfacotry.sample01;

/**
 * @author dongchen
 * @time 2021/9/17
 */
public class Client {
    public static void main(String[] args) {
        EFactory factory;
        Television television;
        AirConditioner airConditioner;
        factory = (EFactory) XMLUtil.getBean();
        television = factory.produceTelevision();
        airConditioner = factory.produceConditioner();
    }
}
